home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
POINT Software Programming
/
PPROG1.ISO
/
pascal
/
swag
/
datetime.swg
/
0033_BASM Get Date Routine.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1993-11-26
|
351 b
|
27 lines
{
From: LIAM STITT
Subj: BASM Get Date
}
type
DateInfo = record
Year: Word;
Month: Byte;
Day: Byte;
DOW: Byte;
end;
var
DI: DateInfo;
procedure GetDate; assembler;
asm
mov ah,2Ah
int 21h
mov DI.Year,cx
mov DI.Month,dh
mov DI.Day,dl
mov DI.DOW,al
end;